package collection;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class JobBean {

	public void work()
	{
		ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml");
		System.out.println("yes");
		MeiTuan.startCollection(context);
		//LaShou.startCollection(context);
		KuTuan.startCollection(context);
	}
}
